package com.example.frn.entity;

import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
@Data
public class Film {
    private Integer id;
    private String name;
    private LocalDate releaseDate;
    private String country;
    private String language;
    private Integer length;
    private Float boxOffice;
    private  String info;
    private Integer status;
    private String ticketLink;
    private String cover;
    private String post;
    private String playLink;
    private String version;
    private Integer isDelete;
    private LocalDateTime created;
    private LocalDateTime updated;
    private List<Category> categoryList;
    private List<FilmMaker> makerList;
    private Integer score;
    //定义长度为6的数组，用来保存打分的总人数以及打出1~5星的人数
    private long[] statistics = new long[6];
}
